package cn.kgc.service;

import cn.kgc.pojo.Branch;
import cn.kgc.pojo.Resume;
import cn.kgc.pojo.position;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: 申乾航
 * @date: 2022/2/3
 * @description:
 */

public interface resumeService {


    /**
     * 招聘人员分页
     * @return
     */

    Page<Resume> getList(String name, @Param("posname")String posname
            , @Param("workEx")String workEx, String resState,
             @Param("checkTime")String checkTime);


    /**
     * 查询职位名称.	职位编码，。所属部门:
     * 组织分页
     * @return
     */
    Page<position> getBranchList(@Param("posName")String posName,@Param("posCode")String posCode,@Param("brName")String brName);

    /**
     * 下拉框
     * @return
     */
    List<Branch> XiaLaKuangBranch();

    /**
     *
     * 渲染职位名称，职位分类，职位编码
     * @param id
     * @return
     */
    position getPositionFen(@Param("id")Integer id);


     boolean tianjia(Resume resume);

     Integer selId(@Param("posCode") String posCode);



    Resume xiugai_cha(@Param("id")Integer id);

    boolean xiugai_shen(Resume resume);

    //position getPositionFens(@Param("posName") String  posName);

    Resume chakan(@Param("id")Integer id);


    int shanchu(@Param("id")Integer id,@Param("resState") String resState);


    //User ming(@Param("userCode") String userCode, @Param("userPassword") String userPwd);
    int xiugai_03(@Param("referrer")String referrer,@Param("recommendTime")String recommendTime,@Param("opinion")String opinion,@Param("id")Integer id);

}
